import React, { Component } from 'react'

export default class Login extends Component {
    login  = () => {
        this.props.history.push({ pathname: '/home', query: { username: "团子", password: "root"} })
    }
    render() {
        return (
            <div>
                登录页面
                <button onClick={ this.login }>登录</button>
            </div>
        )
    }
}
